package com.inxedu.os.edu.service.systemMsg.systemMsgImpl;

import com.inxedu.os.edu.dao.EduUserMapper;
import com.inxedu.os.edu.pojo.EduUser;
import com.inxedu.os.edu.service.systemMsg.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {
    @Autowired
    private EduUserMapper eduUserMapper;
    @Override
    public EduUser queryUserByEmailOrMobile(String emailOrMobile) {
        return eduUserMapper.selectUserByEmailOrMobile(emailOrMobile);
    }
}
